package com.example.getaudit.common.exception;


import com.example.getaudit.common.result.IResultEnum;

/**
 * ClassName BusinessExceptionAssert
 *
 * @author WuTianyu
 * @version 1.0
 * @since 2023/2/22 12:39
 * 业务异常断言
 */
public interface BusinessExceptionAssert extends IResultEnum, Assert {

    @Override
    default CommonException newException() {
        return new BusinessException(this);
    }

}
